<?php

if (!defined('BASEPATH')) {
  exit('No direct script access allowed');
}

class Signout extends MY_Controller {

  public function index() {
    @$this->user_model->update_online($this->current_user['user_id'], TRUE); // Go Offline
    $this->user_session->signout(); // Clear user session
    redirect('signin');
    return;
  }

}

?>
